package com.yum.Iterator.Set;

import com.yum.Iterator.Collection.YCollection;

import java.util.Iterator;
import java.util.Set;

public interface YSet<E> extends YCollection<E> {

    @Override
    Iterator<E> iterator();

    @Override
    boolean add(E e);

    @Override
    boolean addAll(YCollection<? extends E> Yc);

    @Override
    void clear();

    @Override
    boolean contains(Object o);

    @Override
    boolean contatinsAll(YCollection<?> Yc);

    @Override
    boolean isEmpty();

    @Override
    boolean remove(Object o);

    @Override
    boolean removeAll(YCollection<?> Yc);

    @Override
    int size();

    @Override
    E[] toArray(E[] a);

    @Override
    Object[] toArray();
}
